package com.msl.fragment;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import com.msl.MslApp;
import com.msl.R;
import com.msl.base.BaseFragment;
import com.msl.bean.AbDcodeBean;

import butterknife.Bind;
import butterknife.ButterKnife;


public class FragmentWWFH2 extends BaseFragment {
    String tag = "FragmentWWFH2";
    protected View mView = null;
    @Bind(R.id.tv1)
    TextView tv1;
    @Bind(R.id.tv2)
    TextView tv2;
    private AbDcodeBean abDcodeBean = new AbDcodeBean();


    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        mView = inflater.inflate(R.layout.fragmentwwfh2, null);
        ButterKnife.bind(this, mView);
        abDcodeBean = (AbDcodeBean) getActivity().getIntent().getSerializableExtra(MslApp.codedea);
        tv1.setText("委外订单号:"+abDcodeBean.getData().get(0).getRelationBillCode());
        tv2.setText("采购组织:"+abDcodeBean.getData().get(0).getDesStoreName());
        return mView;
    }


    @Override
    public void onDestroyView() {
        super.onDestroyView();
        ButterKnife.unbind(this);
        MslApp.id1="";
        MslApp.id2="";
        MslApp.id3="";
    }

    @Override
    public void onResume() {
        super.onResume();
    }


}
